package com.rc.saas.tenant.mapper.ticket;

import com.rc.saas.tenant.common.base.BaseMapper;

import com.rc.saas.tenant.model.ticket.TenantTicketType;
import com.rc.saas.tenant.model.ticket.TenantTicketTypeExample;
import com.rc.saas.tenant.search.ticket.TicketSearch;
import com.rc.saas.tenant.vo.ticket.TenantTicketTypeDto;
import com.rc.saas.tenant.vo.ticket.TicketVo;

import java.util.List;

public interface TenantTicketTypeMapper extends BaseMapper<Long, TenantTicketType, TenantTicketTypeExample> {

//    @Options(useGeneratedKeys = true, keyProperty = "id",keyColumn = "ticket_type_id")
//    int insertSelective(TenantTicketTypeDTO tenantTicketTypeDTO);

    void insertSelectiveReturnId(TenantTicketTypeDto tenantTicketTypeDto);

    List<TicketVo> listTicket(TicketSearch search);

    List<TicketVo> getTenantTickets(TicketSearch search);

}